{{ $class:= .Get "class" }}
<details class="table-of-content {{$class}}">
  <summary>
    {{ with i18n "toc" }}
      {{ . }}
    {{ else }}
      Table Of Contents
    {{ end }}
  </summary>
  {{ .Page.TableOfContents }}
</details>
